package com.a918.service.impl;

import com.a918.dao.InfoMapper;
import com.a918.entity.Info;
import com.a918.service.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InfoServiceImpl implements InfoService {

    private InfoMapper infoMapper;

    @Autowired
    public InfoServiceImpl(InfoMapper infoMapper) {
        this.infoMapper = infoMapper;
    }

    @Override
    public void save(Info user) {
        infoMapper.save(user);
    }
}
